ABS( <value> )
Calculates the absolute value of a number.
Function ParametersParameter | Description |
---|
<value> | The value to compute (e.g. CLOSE , HIGH , (H+L+C)/3 , etc.) |
Examples:
ABS(5.8)
Evaluates to 5.8
ABS(-5.8)
Evaluates to 5.8
Back to the Scripting Function Reference